#include<stdio.h>
int main()
{
    int *p1,*p;
    int *p2;
    int a,b;
    printf("请输入a和b的值\n");
    scanf("%d,%d",&a,&b);
    p1=&a;
    p2=&b;
    if(a<b)
    {
        p=p1;
        p1=p2;
        p2=p;

    }
    printf("max is %d,min is %d",*p1,*p2);
}